define("store", [], (require, exports, module) => {
	exports.done = () => {
		var store = $.store("responsive", {
			props: {},
			state: {
				api:{
					list: "https://opentool.hexun.com/MongodbNewsService/getDGBackupNewsListByPid.jsp?pid={{id}}&num=30"
				},
				dplus:{
					indexPageView: "a=b&b=c",
					listLink: "a=b&b=c"
				}
			},
			handle:{
				getListData: (options, success, error) => {
					$.jsonp($.tmpl(store.get("state").api.list, (options || {})), {}).done((res, all)=>{
						console.log(res);
						success && success(res, all);
					}, (err)=>{
						error && error(err)
					});
				}
			}
		});
		return store;
	};
});